package day1108_4;

public class W6 {
    public static void main(String[] args) {
        double result=0;
        for( double n=1; n<=20 ;n++){
            result=result+ (  1.0/(n* (n+1))   );
        }
        System.out.println(result);
    }
}